import request from '@/utils/request'

// 查询申请人转移管理列表
export function listApplicantTransfer(query) {
  return request({
    url: '/Spsparty/partyTransfer/list',
    method: 'get',
    params: query
  })
}

// 查询申请人转移管理详细
export function getApplicantTransfer(ctId) {
  return request({
    url: '/Spsparty/partyTransfer/' + ctId,
    method: 'get'
  })
}

// 新增申请人转移管理
export function addApplicantTransfer(data) {
  return request({
    url: '/Spsparty/partyTransfer',
    method: 'post',
    data: data
  })
}

// 修改申请人转移管理
export function updateApplicantTransfer(data) {
  return request({
    url: '/Spsparty/partyTransfer/edit',
    method: 'post',
    data: data
  })
}

// 删除申请人转移管理
export function delApplicantTransfer(ctId) {
  return request({
    url: '/Spsparty/partyTransfer/delete/' + ctId,
    method: 'post'
  })
}

// 导出申请人转移管理
export function exportApplicantTransfer(query) {
  return request({
    url: '/Spsparty/partyTransfer/export',
    method: 'get',
    params: query
  })
}
